package configs

import (
	"os"
	"path/filepath"
)

var (
	// 环境变量
	RunMode     = os.Getenv("BEEGO_RUNMODE") // cashew_dev
	EnvName     = os.Getenv("BEEGO_ENV")     // dev
	ProductName = os.Getenv("BEEGO_PRODUCT") // cashew

	// 程序执行路径
	ExecPath, _ = filepath.Abs(filepath.Dir(os.Args[0]))

	// 程序默认时区
	DefaultTimezone = Manager.GetString("timezone.default")

	// 服务端口号
	HttpPortCashewApi  = Manager.GetString("httpPort.cashewApi")
	HttpPortCashewTask = Manager.GetString("httpPort.cashewTask")
)
